<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Tekdaqc Firmware: CalibrationState_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customstyle.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tekdaqc Firmware
   &#160;<span id="projectnumber">1.0.2.0</span>
   </div>
   <div id="projectbrief">The firmware of the Tekdaqc.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_calibration_state__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">CalibrationState_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Data structure for keeping track of the current state of the calibration process.  
 <a href="struct_calibration_state__t.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a1726d9a3d7daf8e1b958e6a6b808a9de"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_calibration_state__t.html#a1726d9a3d7daf8e1b958e6a6b808a9de">gain_index</a></td></tr>
<tr class="separator:a1726d9a3d7daf8e1b958e6a6b808a9de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f6cfefaa997e30d150fb53ceeb28d57"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_calibration_state__t.html#a0f6cfefaa997e30d150fb53ceeb28d57">rate_index</a></td></tr>
<tr class="separator:a0f6cfefaa997e30d150fb53ceeb28d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2359bfa4a10109d5dcc2e002cb8ece47"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_calibration_state__t.html#a2359bfa4a10109d5dcc2e002cb8ece47">buffer_index</a></td></tr>
<tr class="separator:a2359bfa4a10109d5dcc2e002cb8ece47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9324389a5cdc532c6417a87ccafe18ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__data__types.html#ga0ecf26b576b9a54eca656b9be7ba6a06">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_calibration_state__t.html#a9324389a5cdc532c6417a87ccafe18ce">finished</a></td></tr>
<tr class="separator:a9324389a5cdc532c6417a87ccafe18ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf2e3081566a821fce9f314e5d5348cc"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_calibration_state__t.html#adf2e3081566a821fce9f314e5d5348cc">finished_count</a></td></tr>
<tr class="separator:adf2e3081566a821fce9f314e5d5348cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The Tekdaqc uses this data structure to keep track of the current state of its calibration process, which includes both offset and gain calibrations. </p>

<p>Definition at line <a class="el" href="_a_d_c___state_machine_8c_source.html#l00059">59</a> of file <a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a2359bfa4a10109d5dcc2e002cb8ece47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t buffer_index</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The index of the current buffer setting being calibrated. </p>

<p>Definition at line <a class="el" href="_a_d_c___state_machine_8c_source.html#l00062">62</a> of file <a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a>.</p>

</div>
</div>
<a class="anchor" id="a9324389a5cdc532c6417a87ccafe18ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__data__types.html#ga0ecf26b576b9a54eca656b9be7ba6a06">bool</a> finished</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>TRUE if the particular calibration set has completed. Note that this is not the entire process. </p>

<p>Definition at line <a class="el" href="_a_d_c___state_machine_8c_source.html#l00063">63</a> of file <a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a>.</p>

</div>
</div>
<a class="anchor" id="adf2e3081566a821fce9f314e5d5348cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t finished_count</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The number of calibration sets which have completed. </p>

<p>Definition at line <a class="el" href="_a_d_c___state_machine_8c_source.html#l00064">64</a> of file <a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a>.</p>

</div>
</div>
<a class="anchor" id="a1726d9a3d7daf8e1b958e6a6b808a9de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t gain_index</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The index of the current gain setting being calibrated. </p>

<p>Definition at line <a class="el" href="_a_d_c___state_machine_8c_source.html#l00060">60</a> of file <a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a>.</p>

</div>
</div>
<a class="anchor" id="a0f6cfefaa997e30d150fb53ceeb28d57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t rate_index</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The index of the current rate setting being calibrated. </p>

<p>Definition at line <a class="el" href="_a_d_c___state_machine_8c_source.html#l00061">61</a> of file <a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_a_d_c___state_machine_8c_source.html">ADC_StateMachine.c</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="struct_calibration_state__t.html">CalibrationState_t</a></li>
    <li class="footer">Generated on Mon Jul 28 2014 23:42:42 for Tekdaqc Firmware by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
